st = input()
print(float(st[::-1]))
